import request from "../utils/axios";

export const addARoomRecord = (data:any) => {
    return request.post('/api/roomRecord/addARoomRecord', data)
}

export const getAllRoomRecordOrderByTime = (data:any) => {
    return request.get(`/api/roomRecord/getAllRoomRecordOrderByTime/${data.cinemaId}`)
}